package com.mrx.spring.example.security.model;

import com.mrx.spring.security.model.ApiPermission;
import com.mrx.spring.security.model.SecurityUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * @author Mr.X
 * @since 2023-10-16 15:24
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor(staticName = "of")
public class XSecurityUser implements SecurityUser {
    private Long userId;
    private String userName;
    private Set<ApiPermission> permissions;
}
